<include file="Public:read"/>
<body>
<div class="headk">
    <div class="head">
        <div class="floatleft">您好<a href="__MODULE__/Usercenter/index"><b style="color:red;">{$_SESSION["username"]}</b></a>，欢迎来到金蚂蚁装修网！<span>{$data}<a href="{:U('Home/City/index')}">【切换】</a></span></div>
        <div class="floatright">
        <?php 
if($_SESSION["id"]){?>
   <a href="__MODULE__/Usercenter/index"><b style="color:red;">进入个人中心</b></a> | <a href="__MODULE__/Usercenter/layout">注销</a>
<?php }else{ ?>
<a href="{:U('Home/Login/index')}">您还未登陆,点击登陆</a>
<?php }?>
            |<a href="{:U('Home/Register/ownreg')}">个人注册</a>|<a href="{:U('Home/Register/comreg')}">装修公司注册</a>
            |<a href="{:U('Zxwd/index')}">装修问答</a>|
            <span>服务热线:400-0606-129</span>
        </div>
    </div>
</div>
<div class="topbigdiv" bigheight="132" smallheight="103">
    <div class="top">
        <div class="logo">
            <a href="http://www.zxjmy.com">
                <img
                        src="__PUBLIC__/images/logo.png"
                        height="90">
            </a>
        </div>
        <include file="Public:read"/>
    </div>
</div>
<div class="topbigdivbg"></div>
<section class="xg_password">
    <div class="content_wrap">
        <div class="main_content_box">
            <div class="main_container">
                <div class="global_pie">
                    <div class="global_pie_container">
                        <ul>
                            <li class="has_arrow">
                                <a href="/my">个人中心首页</a>
                                <span class="nav_arrow_right"></span>
                            </li>
                            <li class="has_arrow">
                                <a href="/my/yz_administration_self.php">修改密码</a>
                                <span class="nav_arrow_right"></span>
                            </li>
                            <li>修改密码</li>
                        </ul>
                    </div>
                </div>
                <!-- 左侧菜单 -->
                <div class="mc_menu_box">
                    <h2 class="mcmb_title mcmb_title_on"><a href="/my">个人中心首页</a></h2>
                    <ul class="mcmb_menu">


                        <li class="parent_menu" data_status="show">
                            <a href="javascript:void(0)"><i class="pm_icon_open sprite_img1"></i>我的收藏</a>
                            <ul class="child_menu">
                                <li><a href="#">效果图<span class="collect_count">0</span></a></li>
                                <li><a href="#">户型案例</a></li>

                                <li><a href="#">帖子</a></li>
                            </ul>
                        </li>
                        <li class="parent_menu" ><a href="javascript:void(0)"><i class="pm_icon_open sprite_img1"></i>问答和帖子</a>
                            <ul class="child_menu dn">
                                <li><a href="{:U('Home/Usercenter/tiwen',array('id'=>$arr['id']))}">我的提问</a></li>
                                <li><a href="{:U('Home/Usercenter/huida',array('id'=>$arr['id']))}">我的回答</a></li>
                                <li><a href="{:U('Home/Usercenter/fatie',array('id'=>$arr['id']))}">我的发帖</a></li>
                            </ul>
                        </li>
                        <li class="parent_menu"><a href="javascript:void(0)"><i class="pm_icon_open sprite_img1"></i>我的个人资料</a>
                            <ul class="child_menu dn">
                                <li><a href="{:U('Home/Usercenter/changemsg',array('id'=>$arr['id']))}">个人资料</a></li>
                                <li><a href="{:U('Home/Usercenter/repassword',array('id'=>$arr['id']))}">修改密码</a></li>
                                <li><a href="#">绑定手机/邮箱</a></li>
                            </ul>
                        </li>

                    </ul>
                </div>
                <script type="text/javascript">
                    var jq = $;
                    jq(function()
                    {
                        menuShrinknew();
                    });
                    function menuShrinknew(){
                        jq('.parent_menu').children('a').unbind('click');
                        jq('.parent_menu').children('a').click(function(){
                            var dataStatus = jq(this).parent('.parent_menu').attr('data_status');
                            if(dataStatus=='hide'){
                                jq(this).parent('.parent_menu').find('.child_menu').show();
                                jq(this).parent('.parent_menu').attr('data_status','show');
                                jq(this).find('i').removeClass('pm_icon_close').addClass('pm_icon_open');
                            }
                            else{
                                jq(this).parent('.parent_menu').find('.child_menu').hide();
                                jq(this).parent('.parent_menu').attr('data_status','hide');
                                jq(this).find('i').removeClass('pm_icon_open').addClass('pm_icon_close');
                            }
                        });
                        jq('.child_menu li').click(function(){
                            jq('.child_menu li').removeClass('child_menu_on');
                            jq(this).addClass('child_menu_on');
                        })
                    }
                </script>            <!-- 左侧菜单 -->
                <div class="right_content">
                    <div class="clumn_name">
                        <p>修改密码</p>
                    </div>
                    <form method="post" action="__URL__/xiugaipassword" onsubmit="return checkform2(this)">
                    <div class="reset_content_mobile reset_password" style="display:block;">
                        <div class="mobile_code">
                            <span>旧<em class="space">密</em>码</span>
                            <input type="password" name="oldpassword" class="user_txt" id="password" maxlength="16" onkeyup="checkPwd()" style="border: 1px solid rgb(204, 204, 204);">
                            <div class="message" id="p_error" style="display: none;"></div>
                        </div>
                        <div class="mobile_code">
                            <span>新<em class="space">密</em>码</span>
                            <input type="password" name="password" class="user_txt" maxlength="16" id="password1" onkeyup="checkPwd()">
                            <div class="message" id="p1_error"></div>
                        </div>
                        <div class="mobile_code">
                            <span>确认密码</span>
                            <input type="password" name="repassword" class="user_txt" maxlength="16" id="password2" onkeyup="checkPwd()">
                            <div class="message" id="p2_error"></div>
                        </div>
                        <div class="mobile_code">
                            <span>验<em class="space">证</em>码</span>
                            <input type="text" id="check_code" name="check_code" class="code" onkeyup="checkPwd()">
                            <img src="{:U('Home/Usercenter/verifyAction')}"onClick="this.src=this.src+'?'+Math.random();" title="看不清楚?点击刷新验证码?"></a>
                            <input type="hidden" name="id" value="{$_SESSION['id']}">
                            <div class="message" id="p3_error"></div>
                        </div>
                        <input type="submit" value="提交" class="next_bit">
                    </div>
                </form>
                </div>
            </div>
        </div>
    </div>
</section>


<include file="Public:foot"/>


</body>
</html>